package com.yswy.app.dto.domianVo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.domain.common.BasePojo;
import com.yswy.domain.entity.PollingImg;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("轮询图片表")
public class PollingImgVo  {

    @ApiModelProperty("轮询图片URL")
    private String imgUrl;
    @ApiModelProperty("跳转类型  0 无具体功能   1 跳转链接   2 穿山甲短剧  3 午夜剧场")
    private Integer jumpType;
    @ApiModelProperty("轮询图片链接")
    private String imgLink;
    @ApiModelProperty("跳转具体功能")
    private Long playId;

    public PollingImgVo(PollingImg pollingImg) {
        this.imgUrl = pollingImg.getImgUrl();
        this.jumpType = pollingImg.getJumpType();
        this.imgLink = pollingImg.getImgLink();
        this.playId = pollingImg.getPlayId();
    }
}
